# $Id: PKGBUILD 65813 2012-02-22 12:46:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-extutils-xsbuilder
pkgver=0.28
pkgrel=5
pkgdesc="Automatic Perl XS glue code generation"
arch=('any')
url="http://search.cpan.org/dist/ExtUtils-XSBuilder"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-parse-recdescent' 'perl-tie-ixhash')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/G/GR/GRICHTER/ExtUtils-XSBuilder-$pkgver.tar.gz)
md5sums=('1d33ddeacc01426a02e23c71c2e4cd04')

build() {
  cd  $srcdir/ExtUtils-XSBuilder-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
